package com.xiangming.bm.biz.wechat.constant;

public final class WechatApiConstants {
	
	//buildmost 英文版公众号 appid
	public static final String EN_APPID ="wx9c9fa46bab14d611";
	
	//buildmost 英文版公众号 唯一凭证秘钥
	public static final String EN_SECRET ="8a9f938809428d8f79d031ebb13aabbe";
	
	//buildmost 中文版公众号 appid
	public static final String CN_APPID ="wxdfc5b9ea5160e5de";
	
	//buildmost 英文版公众号 唯一凭证秘钥
	public static final String CN_SECRET ="021c43a28382ab32a030db68ca368cee";
	
	//授权登录链接
	public static final String AUTH_LOG_URL ="https://open.weixin.qq.com/connect/oauth2/authorize?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect";

	//获取用户openId
	public static final String USER_OPENID_URL ="https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code"; 
	
	//buildmost 英文版公众号授权登录回调路径
	public static final String EN_CALLBACK_URL ="https://www.buildmost.com/wechat/en_callback";
	
	//buildmost 中文版公众号授权登录回调路径
	public static final String CN_CALLBACK_URL ="https://www.buildmost.com/wechat/cn_callback";
	
    //发送模板消息
    public static final String SEND_TEMPLATE_MSG = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=";
    
    //获取帐号的关注者列表
    public static final String GET_OPEN_ID_LIST = "https://api.weixin.qq.com/cgi-bin/user/get?access_token=";
    
    //发送客服消息
    public static final String SEND_CUSTOM_MESSAGE = "https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=";
    
    //buildmost 中文版公众号授权登录回调路径
  	public static final String TEST_CALLBACK_URL ="http:afdf16dc.ngrok.io/wechat/test_callback";
  	
  	public static final String TEST_APPID = "wx8a71bbd40543ddad";
  	
  	public static final String TEST_SECRET = "c8fbfcba4b1e10f8eb14abb18682b955";
  	//产品需求模板ID
  	public static final String PRODUCT_DEMAND_TEMPLATE_ID = "5OBu6XUNhvc3Gu0yfl73FYXWeqSXppeliN6GaLXPLO0";
  	//获取报价模板ID
  	public static final String QUOTATION_TEMPLATE_ID = "Eh7oJhxYDZefLBoiW-uC6wz27IbRIYYsl5b3-2Ht7So";
}
